
package com.be.beadmin.project.repository;

import com.be.beadmin.project.entity.PayInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
* @author zjm
* @date 2023-06-14
**/
public interface PayInfoRepository extends JpaRepository<PayInfo, String>, JpaSpecificationExecutor<PayInfo> {

    PayInfo findPayInfoByIdAndDelete(String id, Integer delete);


    PayInfo findPayInfoByInfoIdAndDelete(String infoId, Integer delete);

//    PayInfo findPayInfoBy(String id, Integer delete);
    PayInfo findPayInfoById(String id);

}